package com.feituan.core.persistence.service;

import com.feituan.core.pojo.entity.IntegrationRecord;
import com.feituan.core.pojo.request.IntegrationRecordReq;
import com.feituan.core.pojo.response.IntegrationRecordRes;
import com.feituan.core.pojo.response.page.PageData;

import java.util.List;

public interface IIntegrationRecordService {
    String saveRecord(IntegrationRecordReq recordReq);

    int sendOrder(IntegrationRecordReq recordReq);

    PageData<IntegrationRecordRes> selectList(IntegrationRecordReq recordReq);

    List<IntegrationRecordRes> selectListByUserId(Long userId);

    int updateRecord(IntegrationRecordReq recordReq);

    IntegrationRecordRes selectByNumber(String number);
}
